package com.cxyd.modules.wcs.dao;

import com.cxyd.common.dao.BaseDao;
import com.cxyd.modules.wcs.entity.AgvTrkHkEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AgvTrkHkDao extends BaseDao<AgvTrkHkEntity> {
    void backupAgvTrk(@Param("contNo") String contNo);

    void deleteAgvTrkByContNo(@Param("contNo") String contNo);

    void backupAgvTrkByTaskCode(@Param("taskCode") String taskCode);

    void deleteAgvTrkByTaskCode(@Param("taskCode") String taskCode);

    AgvTrkHkEntity getTaskByContNo(@Param("contNo") String contNo);

    AgvTrkHkEntity getTaskByTaskCode(@Param("taskCode") String taskCode);

    int getAgvTrkSumByState();
}
